<!doctype html>
<html>
	<head>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		
		<style type="text/css">
			body {
				font-family: Arial, Helvetica, sans-serif;
				font-size: 0.9rem;
			}
			
			table {
				border: 1px solid gray;
				border-collapse: collapse;
				-moz-box-shadow: 3px 3px 4px #AAA;
				-webkit-box-shadow: 3px 3px 4px #AAA;
				box-shadow: 3px 3px 4px #AAA;
				vertical-align: top;
				height: 64px;
			}
			
			td, th {
				border: 1px solid #D3D3D3;
				padding: 5px 10px 5px 10px;
			}
			
			th {
				border-bottom: 1px solid gray;
				background-color: rgba(41,52,92,0.313);
			}
			
			.error, .warning {
				text-align: center;
			}
			
			.error {
				background-color: #FF9D92;
				color: #7F0800;
			}
			
			.warning {
				background-color: #FFF59E;
				color: #7F7000;
			}
		</style>
		
		<title>SwiftLint Report</title>
	</head>
	<body>
		<h1>SwiftLint Report</h1>
		
		<hr />
		
		<h2>Violations</h2>
		
		<table>
			<thead>
				<tr>
					<th style="width: 60pt;">
						<b>Serial No.</b>
					</th>
					<th style="width: 500pt;">
						<b>File</b>
					</th>
					<th style="width: 60pt;">
						<b>Location</b>
					</th>
					<th style="width: 60pt;">
						<b>Severity</b>
					</th>
					<th style="width: 500pt;">
						<b>Message</b>
					</th>
				</tr>
			</thead>
			<tbody>
				<tr>
					<td style="text-align: right;">1</td>
					<td>filename</td>
					<td style="text-align: center;">1:1</td>
					<td class="warning">Warning</td>
					<td>Violation Reason 1</td>
				</tr>
				<tr>
					<td style="text-align: right;">2</td>
					<td>filename</td>
					<td style="text-align: center;">1:0</td>
					<td class="error">Error</td>
					<td>Violation Reason 2</td>
				</tr>
				<tr>
					<td style="text-align: right;">3</td>
					<td>path/file.swift</td>
					<td style="text-align: center;">1:2</td>
					<td class="error">Error</td>
					<td>Shorthand syntactic sugar should be used, i.e. [Int] instead of Array&lt;Int&gt;</td>
				</tr>
				<tr>
					<td style="text-align: right;">4</td>
					<td>&lt;nopath&gt;</td>
					<td style="text-align: center;">0:0</td>
					<td class="error">Error</td>
					<td>Colons should be next to the identifier when specifying a type and next to the key in dictionary literals</td>
				</tr>
			</tbody>
		</table>
		
		<br/>
		
		<h2>Summary</h2>
		
		<table>
			<tbody>
				<tr>
					<td>Total files with violations</td>
					<td>2</td>
				</tr>
				<tr>
					<td>Total warnings</td>
					<td>1</td>
				</tr>
				<tr>
					<td>Total errors</td>
					<td>3</td>
				</tr>
			</tbody>
		</table>
		
		<hr />
		
		<p>
			Created with
			<a href="https://github.com/realm/SwiftLint"><b>SwiftLint</b></a>
			${SWIFTLINT_VERSION} on ${TODAYS_DATE}
		</p>
	</body>
</html>